package com.plian.system.vo.report;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @description:
 * @author: gangan
 * @create: 2020-07-21 15:33
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SeriesVO {
    /**
     * 名称
     */
    private String name;

    /**
     * 类型 bar代表柱状图 line代表折线图
     */
    private String type;

    /**
     * 折线图 y轴起始值
     */
    @JsonProperty("yAxisIndex")
    private Integer yAxisIndex;

    /**
     * 值
     */
    private List<Object> data;
}
